<?php
namespace lib;


class crash
{
    public static function nomal($str)
    {
        echo json_encode(array(
            'code' => -999,
            'mess' => urlencode('您的请求未能成功'),
            'datetime' => time(),
            'data' => array(
                'code' => -1,
                'mess' => urlencode($str)
            )
        ));
        exit(0);
    }
}